/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package player;

/**
 *
 * @author Администратор
 */
public class PlayerBankRoll {

    private int chips;

    public void addChips(int chips) {
        this.chips += chips;
    }

    public int getChips(int chips) {
        if (this.chips >= chips) {
            this.chips -= chips;
            return chips;
        } else {
            return -1;
        }
    }
}
